/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.chl.niclun.projectwebshop.nbp;

import edu.chl.niclun.projectwebshop.nbp.Entities.Movie;
import java.util.ArrayList;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

/**
 *Backingbean for the ShowResult
 * @author marjona
 */
@ManagedBean
@SessionScoped
public class ShowResultBackingBean {

    private String searchText;
    private String option;
    private List<Movie> movies;
    /** Creates a new instance of ShowResultBackingBean */
    public ShowResultBackingBean() {
        movies = new ArrayList<Movie>();
    }

    public String getOption() {
        return option;
    }

    public void setOption(String option) {
        this.option = option;
    }

    public String getSearchText() {
        return searchText;
    }

    public void setSearchText(String searchText) {
        this.searchText = searchText;
    }

    public List<Movie> getMovies() {
        return movies;
    }

    public void setMovies(List<Movie> movies) {
        this.movies = movies;
    }
    
    
}
